package com.xb.cloud.product.service.business.model.mapper;

import com.xb.cloud.product.service.business.model.PromotionCategory;
import com.xb.cloud.product.service.business.model.PromotionCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PromotionCategoryMapper {
    long countByExample(PromotionCategoryExample example);

    int deleteByExample(PromotionCategoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PromotionCategory record);

    int insertSelective(PromotionCategory record);

    List<PromotionCategory> selectByExample(PromotionCategoryExample example);

    PromotionCategory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PromotionCategory record, @Param("example") PromotionCategoryExample example);

    int updateByExample(@Param("record") PromotionCategory record, @Param("example") PromotionCategoryExample example);

    int updateByPrimaryKeySelective(PromotionCategory record);

    int updateByPrimaryKey(PromotionCategory record);
}